.class Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;
.super Ljava/lang/Object;
.source "VoicePlayer.java"

# interfaces
.implements Landroid/media/MediaPlayer$OnErrorListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/utils/voice/VoicePlayer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/utils/voice/VoicePlayer;)V
    .locals 0
    .parameter

    .prologue
    .line 115
    iput-object p1, p0, Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;->this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(Landroid/media/MediaPlayer;II)Z
    .locals 2
    .parameter "mediaplayer"
    .parameter "what"
    .parameter "extra"

    .prologue
    const/4 v1, 0x0

    .line 116
    packed-switch p2, :pswitch_data_0

    move v0, v1

    .line 127
    :goto_0
    return v0

    .line 118
    :pswitch_0
    iget-object v0, p0, Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;->this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;

    #setter for: Lcom/htc/android/footprints/utils/voice/VoicePlayer;->mIsInitialized:Z
    invoke-static {v0, v1}, Lcom/htc/android/footprints/utils/voice/VoicePlayer;->access$002(Lcom/htc/android/footprints/utils/voice/VoicePlayer;Z)Z

    .line 119
    iget-object v0, p0, Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;->this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;

    #getter for: Lcom/htc/android/footprints/utils/voice/VoicePlayer;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/htc/android/footprints/utils/voice/VoicePlayer;->access$100(Lcom/htc/android/footprints/utils/voice/VoicePlayer;)Landroid/media/MediaPlayer;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->release()V

    .line 120
    iget-object v0, p0, Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;->this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;

    new-instance v1, Landroid/media/MediaPlayer;

    invoke-direct {v1}, Landroid/media/MediaPlayer;-><init>()V

    #setter for: Lcom/htc/android/footprints/utils/voice/VoicePlayer;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0, v1}, Lcom/htc/android/footprints/utils/voice/VoicePlayer;->access$102(Lcom/htc/android/footprints/utils/voice/VoicePlayer;Landroid/media/MediaPlayer;)Landroid/media/MediaPlayer;

    .line 121
    iget-object v0, p0, Lcom/htc/android/footprints/utils/voice/VoicePlayer$1;->this$0:Lcom/htc/android/footprints/utils/voice/VoicePlayer;

    #getter for: Lcom/htc/android/footprints/utils/voice/VoicePlayer;->mOnPlayerStateChangedListener:Lcom/htc/android/footprints/utils/voice/VoicePlayer$OnPlayerStateChangedListener;
    invoke-static {v0}, Lcom/htc/android/footprints/utils/voice/VoicePlayer;->access$200(Lcom/htc/android/footprints/utils/voice/VoicePlayer;)Lcom/htc/android/footprints/utils/voice/VoicePlayer$OnPlayerStateChangedListener;

    move-result-object v0

    const/16 v1, 0x64

    invoke-interface {v0, v1}, Lcom/htc/android/footprints/utils/voice/VoicePlayer$OnPlayerStateChangedListener;->OnError(I)V

    .line 122
    const/4 v0, 0x1

    goto :goto_0

    .line 116
    nop

    :pswitch_data_0
    .packed-switch 0x64
        :pswitch_0
    .end packed-switch
.end method
